package com.xwaf.platform.system.api.entity.pay.wx;

/**
 * 
 * <p>
 * 微信公众号支付配置信息
 * <p>
 * 
 * @author 李聪 <br>
 * @email xwaf_love@yeah.net <br>
 * @since JDK 1.8<br>
 * @date 2019年12月30日 上午8:46:12 <br>
 * @see 无<br>
 *      Copyright (c) 2019, xwaf_love@yeah.net All Rights Reserved.<br>
 */
public class WeixinPayConfig {
	// 证书
	public static String CERT_FILE = System.getProperty("user.dir") + System.getProperty("file.separator") + "fscert"
			+ System.getProperty("file.separator") + "apiclient_cert.p12";// 微信企业支付证书
	// 线上环境
	public final static String NOTIFY_URL = "https://pay.xxxxx.com/weixinpay/jsapi/callback/pay.action";
	// 统一下单URL
	public final static String WECHAT_UNIFIED_ORDER_URL = "https://api.mch.weixin.qq.com/pay/unifiedorder";
	// 查询订单URL
	public final static String WECHAT_ORDER_QUERY_URL = "https://api.mch.weixin.qq.com/pay/orderquery";
	// 获取token接口(GET)
	public final static String TOKEN_URL = "https://api.weixin.qq.com/cgi-bin/token";
	// ticket 接口 (GET)
	public final static String TICKET_URL = "https://api.weixin.qq.com/cgi-bin/ticket/getticket";
	// oauth2授权接口(GET)
	public final static String OAUTH2_URL = "https://api.weixin.qq.com/sns/oauth2/access_token";
}